Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies that broke CI #102

Merged

Conversation

chrysn
Copy link
Collaborator

@chrysn chrysn commented Sep 29, 2023

With thvdveld/cc2538-hal#2 closed, cc2538-hal now has a published 0.2.0 that contains the crypto code we previously had a git branch dependency on.

This should fix the build failures that started when the PR was closed and the branch removed.

The -pac crate is updated in lockstep with -hal's dependency to avoid duplicates; the .take().expect(...) idiom is exchanged with an unsafe .steal() following the examples of cc2538-hal.

Contributes-To: #98

CC'ing @thvdveld who is probably the best person to review this.

@chrysn
Copy link
Collaborator Author

chrysn commented Sep 29, 2023

I've updated the PR to also work around a semver incompatible update to the coap crate in Covertness/coap-rs#87, which hit crates.io about 4h ago. Keeping both in one PR as none of them alone has a chance of clearing CI.

@chrysn chrysn changed the title chore: Update cc2538 dependency Update dependencies that broke CI Sep 29, 2023
The 0.12.2 version briefly caused build issues[1], and while the
problematic release is yanked, this is still a good update.

[1]: Covertness/coap-rs#87
@chrysn chrysn force-pushed the published-cc2538-hal branch from bed7c33 to 25964b6 Compare September 30, 2023 09:40
@chrysn
Copy link
Collaborator Author

chrysn commented Sep 30, 2023

One more fix: covertness fixed the coap-rs issue, so to avoid referencing a now yanked version, the forcepushed version now uses the newest CoAP release right away.

@malishav
Copy link
Contributor

Let me know if this is ready for merge?

@chrysn
Copy link
Collaborator Author

chrysn commented Sep 30, 2023 via email

@malishav malishav merged commit 337c47c into openwsn-berkeley:main Sep 30, 2023
38 checks passed
@malishav
Copy link
Contributor

Thanks for providing this PR!

@chrysn chrysn deleted the published-cc2538-hal branch September 30, 2023 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants